home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / MacTools / C++ / card_12903_render.png < prev    next >
Portable Network Graphic  |  1991-11-29  |  4.8 KB  |  512x342  |  4-bit (3 colors)
   ocr: Once a class is detined, then you can use the class like you would a normal C data type. There is a difference between C structures and C++ data types. The difference deals with the accessibility of members. In C, the members are available to any expression or function within the member's scope. In C++, things are a little different. You can control access to struct and class membersithe code and data) by declaring individual members to be either private, public or protected. In C++, when a class is defined by using the class keyword, then the members are private by default. If ac class is def ...